package cn.ymkj.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "登录请求参数对象",value = "LoginDto")
public class LoginDto {
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("图形验证码")
    private String imageCode;
    @ApiModelProperty("图形验证码对应的key")
    private String imageCodeKey;

    public LoginDto(String username, String password, String imageCode) {
        this.username = username;
        this.password = password;
        this.imageCode = imageCode;
    }

    public LoginDto(String username, String password, String imageCode, String imageCodeKey) {
        this.username = username;
        this.password = password;
        this.imageCode = imageCode;
        this.imageCodeKey = imageCodeKey;
    }

    public LoginDto() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getImageCode() {
        return imageCode;
    }

    public void setImageCode(String imageCode) {
        this.imageCode = imageCode;
    }

    public String getImageCodeKey() {
        return imageCodeKey;
    }

    public void setImageCodeKey(String imageCodeKey) {
        this.imageCodeKey = imageCodeKey;
    }
}
